<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
	<%@ page isELIgnored="false" %>
	<%@ taglib uri="/struts-tags" prefix="s"%>
	<%@ taglib uri="/struts-dojo-tags" prefix="sx"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>contact</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="${pageContext.request.contextPath}/styles/style.css" rel="stylesheet" type="text/css" />
<sx:head />
</head>
<body>
<div class="main">

  <div class="slider2">
    <div class="slider4_resize">
      <h2>电影信息管理	</h2>
    </div>
    <div class="clr"> </div>
  </div>
  <div class="clr"> </div>
  <div class="body">
    <div class="body_resize2">
      <p><strong></strong><br />
        </p>
       <s:form action="add_film" method="post" id="contactform" enctype="multipart/form-data">
        <ol>
         <li>
            <label ><span class="red"><s:actionerror/></span></label>
          </li>
          <li>
            <label for="fi_name">电影名称：<span class="red"><s:fielderror fieldName="film.fi_name"/></span></label>
           <s:textfield Class="test" name="film.fi_name"></s:textfield>
          </li>
           <li>
            <label for="fi_alias">电影别名：<span class="red"><s:fielderror fieldName="film.fi_alias"/></span></label>
           <s:textfield Class="test" name="film.fi_alias"></s:textfield>
          </li>
          <li>
            <label for="fi_state">电影状态： <span class="red"></span></label><br>
            <s:select name="film.fi_state" list="#{'1':'已经上映','0':'未上映','5':'移通影讯'}"  label="电影状态"></s:select>
          </li>
          <li>
           <label for="fi_times">时间分钟：<span class="red"><s:fielderror fieldName="film.fi_times"/></span></label>
           <s:textfield Class="test" name="film.fi_times" value="0"></s:textfield>
          </li>
          <li>
            <label for="fi_director">导演：<span class="red"><s:fielderror fieldName="film.fi_director"/></span></label>
             <s:textfield Class="test" name="film.fi_director"></s:textfield>
          </li> 
		  <li>
            <label for="fi_screenwriter">编剧：<span class="red"><s:fielderror fieldName="film.fi_screenwriter"/></span></label>
             <s:textfield Class="test" name="film.fi_screenwriter"></s:textfield>
          </li> 
		  <li>
            <label for="file">宣传图片：<span class="red"><s:fielderror fieldName="fileFileName"/></span></label>
           <s:file id="file" name="file"/>
          </li> 
		  <li>
            <label for="fi_actor">主演：<span class="red"><s:fielderror fieldName="film.fi_actor"/></span></label>
             <s:textfield Class="test" name="film.fi_actor"></s:textfield>
          </li> 
		  <li>
            <label for="fi_releasetime">上映时间：<span class="red"><s:fielderror fieldName="film.fi_releasetime"/></span></label>
            <sx:datetimepicker  
              adjustWeeks="true"  
              displayFormat="yyyy-MM-dd"  
               toggleType="explode" 
               name="film.fi_releasetime" 
            >  
          </sx:datetimepicker>  
          </li> 
		  <li>
            <label for="fi_country">产地：<span class="red"><s:fielderror fieldName="film.fi_country"/></span></label>
             <s:textfield Class="test" name="film.fi_country"></s:textfield>
          </li> 
		  <li>
            <label for="fi_language">语言：<span class="red"><s:fielderror fieldName="film.fi_language"/></span></label>
             <s:textfield Class="test" name="film.fi_language"></s:textfield>
          </li> 
		  <li>
            <label for="fi_jianjie">简介：<span class="red"><s:fielderror fieldName="film.fi_jianjie"/></span></label>
            <s:textarea Class="test" name="film.fi_jianjie"></s:textarea>
          </li> 
		  <li class="buttons">
            <input type="submit" value="添加" />
            <input type="reset" value="重置"  />
		 </li>
        </ol>
      
	  </s:form>
	  
    </div>
    <div class="clr"></div>
  </div>

</div>
</body>
</html>